/**
 * 
 */
package com.roc.common;

import java.util.ArrayList;
import java.util.List;

import com.roc.pojo.TPosInfo;
import com.roc.pojo.YjPosInfo;

/**
 * @author Ren PengFei
 * 
 */
public class XxlsTerm extends XxlsAbstract {

	private List<YjPosInfo> pos = new ArrayList<YjPosInfo>();
	private List<TPosInfo> pos1 = new ArrayList<TPosInfo>();
	
	@Override
	public void optRows(int sheetIndex, int curRow, List<String> rowlist) {
		
		if (curRow == 0) {
			return;
		}
		YjPosInfo y = new YjPosInfo();
		if(rowlist.size()>0){
			y.setSerialNum(rowlist.get(0));
		}
		pos.add(y);
	}

	public List<YjPosInfo> getTrans() {
		return pos;
	}
	public List<TPosInfo> getTrans1() {
		return pos1;
	}

}
